package com.springboot.util.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Author: TongRui乀
 * @Date: 2020-03-20 17:22
 * @description：
 */
@Component
@ConfigurationProperties(prefix = "security")
public class SecurityProperties {

    private SecurityCodeProperties code = new SecurityCodeProperties();

    public SecurityCodeProperties getCode() {
        return code;
    }

    public void setCode(SecurityCodeProperties code) {
        this.code = code;
    }
}
